package cn.ruituo.entity;

import java.util.Date;

public class ExamResult {
    //st_id,sb_id
    private long id,sbId,stId;
    private float score;
    //exam_date
    private Date examDate;

    public ExamResult(){

    }

    public ExamResult(long sbId, long stId, float score, Date examDate) {
        this.sbId = sbId;
        this.stId = stId;
        this.score = score;
        this.examDate = examDate;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getSbId() {
        return sbId;
    }

    public void setSbId(long sbId) {
        this.sbId = sbId;
    }

    public long getStId() {
        return stId;
    }

    public void setStId(long stId) {
        this.stId = stId;
    }

    public float getScore() {
        return score;
    }

    public void setScore(float score) {
        this.score = score;
    }

    public Date getExamDate() {
        return examDate;
    }

    public void setExamDate(Date examDate) {
        this.examDate = examDate;
    }

    @Override
    public String toString() {
        return "ExamResult{" +
                "id=" + id +
                ", sbId=" + sbId +
                ", stId=" + stId +
                ", score=" + score +
                ", examDate=" + examDate +
                '}';
    }
}
